﻿using System;
using Microsoft.SharePoint;

namespace TPG.SharePoint.Workflow
{
    class ListItemTaskDataProvider
        : TaskDataProvider
    {
        internal ListItemTaskDataProvider(SPListItem taskItem)
            : base(taskItem)
        {

        }

        internal override void CommitTask()
        {
            ListItem.Update();
        }

        public override System.ComponentModel.PropertyDescriptor[] BuildDescriptors()
        {
            throw new NotImplementedException();
        }

        public override void SetValue(string name, object value)
        {
            throw new NotImplementedException();
        }

        public override object GetValue(string name)
        {
            throw new NotImplementedException();
        }

        public override System.Collections.Hashtable ExtractValues()
        {
            throw new NotImplementedException();
        }
    }
}
